import request from "@/utils/request"

export function login(data){
    return request({
        url:"/index/login",
        method:"post",
        data
    })
}

export function getUserinfo(){
    return request({
        url:"/user",
    })
}